Elizabeth Alvarez's profile

Stream Of Consciousness

In this project I took the approach of stream of consciousness as the playing theme throughout the entire piece. The purpose of this piece is for the user to have the ability to interact and maneuver and change what is being seen to such extent. Playing with the idea that circles and twirls can be or become mesmerizing, the user has only those two options to change the display of a never ending interaction.
 
How it works:
- Mouse must be within the dimensions of the screen provided where a circle will follow the mouse in all moments. 
- The use of clicking on the mouse pad will provide a new image to pop up and attach to the mouse and beginning following it just like the circle. 
- Ability to switch back and forth between mouse and track pad. 
Code Used:

/* This is a stream of consciousness narrative in Processing. */
//Global Variables
PImage img;
int value = 0;
//Set up of images
void setup()
{
  //Background image
  size(640,426);
  img = loadImage("BG.jpg");
  
}
  
 void draw()
{
   fill(value);
  
  if(mousePressed == true)
  {
      image(img, 0, 0, mouseX*2, mouseY*2);
  }
  else
  {
    fill(255);
  }
  
  ellipse(mouseX, mouseY, 10, 20);
}
Stream Of Consciousness
Published:

Stream Of Consciousness

The use of an image and a shape to portrait the idea of stream of consciousness.

Published: